package jdos.misc;

import jdos.ints.Int10_char;
import jdos.util.IntRef;
import jdos.util.StringHelper;

public final class Program {

	public static void DosPrint(String format, Object[] args) {
		String buf = StringHelper.sprintf(format, args);
		/*Bit16u*/int size = buf.length();
		for (/*Bit16u*/int i = 0; i < size; i++) {
			Int10_char.INT10_TeletypeOutputAttr(((byte) buf.charAt(i)), 0x7, false);
		}
	}

}
